.top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2f3f5;
  border: none;
  font-size: 18px;
}

.avatar.logged-in {
  background: #e8f5e9;
}

.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  background: #f5f5f5;
  border-radius: 18px;
}

.search-input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
}

.message-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 18px;
  background: #f2f3f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

/* helper for pages to offset content */
.with-top-header {
  padding-top: 56px;
}


